package com.youxin.cpcenter.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.youxin.busfoundation.bean.leads.LeadsStatTotalBean;
import com.youxin.busfoundation.bean.leads.QueryLeadsViewBean;
import com.youxin.cpcenter.model.TbEntLeadsView;

@Mapper
public interface TbEntLeadsViewMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TbEntLeadsView record);

    int insertSelective(TbEntLeadsView record);

    TbEntLeadsView selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbEntLeadsView record);

    int updateByPrimaryKey(TbEntLeadsView record);
    
    LeadsStatTotalBean selectByEntMemberIdLeadsId(QueryLeadsViewBean bean);
    
    List<String> selectByEntMemberIdLeads(QueryLeadsViewBean bean);    
    
    int insertSelectiveIgnore(TbEntLeadsView record);
}